package com.xnyzc.lhy.resource.entity.cp;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.Version;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
*
* 银行卡鉴权记录表
*
* @author cuixiaojian
* @since 2019-12-05
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="OaBankCardAuthenticationRecord对象", description="银行卡鉴权记录表")
public class OaBankCardAuthenticationRecord implements Serializable {

private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value="record_id", type = IdType.INPUT)
    private Long recordId;

    @ApiModelProperty(value = "司机ID")
    private Long userId;

    @ApiModelProperty(value = "认证人姓名")
    private String userName;

    @ApiModelProperty(value = "认证人身份证号")
    private String idCard;

    @ApiModelProperty(value = "认证人银行卡号")
    private String bankCard;

    @ApiModelProperty(value = "认证结果状态码")
    private Integer resultCode;

    @ApiModelProperty(value = "认证结果消息")
    private String message;

    @ApiModelProperty(value = "订单号")
    private String orderNo;

    @ApiModelProperty(value = "认证结果 0 一致，1 不一致，2未认证，3 已注销")
    private Integer result;

    @ApiModelProperty(value = "验证结果描述信息")
    private String resultDesc;

    @ApiModelProperty(value = "认证结果文本")
    private String resultMsg;

    @ApiModelProperty(value = "用户来源")
    private String tag;

    @ApiModelProperty(value = "扩展字段1")
    private String expand1;

    @ApiModelProperty(value = "扩展字段2")
    private String expand2;

    @ApiModelProperty(value = "扩展字段3")
    private String expand3;

    @ApiModelProperty(value = "版本号")
    @Version
    private Long version;

    @ApiModelProperty(value = "是否删除(0:否,1:是)")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "创建人")
    private Long createUser;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    private Long updateUser;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;


    public static final String RECORD_ID = "record_id";

    public static final String USER_ID = "user_id";

    public static final String USER_NAME = "user_name";

    public static final String ID_CARD = "id_card";

    public static final String BANK_CARD = "bank_card";

    public static final String RESULT_CODE = "result_code";

    public static final String MESSAGE = "message";

    public static final String ORDER_NO = "order_no";

    public static final String RESULT = "result";

    public static final String RESULT_DESC = "result_desc";

    public static final String RESULT_MSG = "result_msg";

    public static final String TAG = "tag";

    public static final String EXPAND1 = "expand1";

    public static final String EXPAND2 = "expand2";

    public static final String EXPAND3 = "expand3";

    public static final String VERSION = "version";

    public static final String DELETED = "deleted";

    public static final String CREATE_USER = "create_user";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_USER = "update_user";

    public static final String UPDATE_TIME = "update_time";

}
